package com.jming.jike.vo.backend;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author jinming.zhang
 * @version 0.0.1
 * @date 2022/04/29
 */
@Data
public class OrdersVO {

    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("订单号")
    private String orderId;

    @ApiModelProperty("订单状态 1待付款，2待派送，3已派送，4已完成，5已取消")
    private Integer status;

    @ApiModelProperty("下单用户")
    private Long userId;

    @ApiModelProperty("地址id")
    private Long addressBookId;

    @ApiModelProperty("下单时间")
    private Date orderTime;

    @ApiModelProperty("结账时间")
    private Date checkoutTime;

    @ApiModelProperty("支付方式 1微信, 2支付宝")
    private Integer payMethod;

    @ApiModelProperty("实收金额")
    private BigDecimal amount;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("地址")
    private String address;

    @ApiModelProperty("姓名")
    private String userName;

    @ApiModelProperty("收餐人")
    private String consignee;

}
